/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.util.Comparator;

/**
 *
 * @author Gautier
 */
public class ComparatorContactName implements Comparator<Contact>{

    public int compare(Contact o1, Contact o2) {
        return o1.name.compareToIgnoreCase(o2.name);       
    }
    
}
